<!DOCTYPE html>
<html>
    <head>
        
        <title>CRF - Conselho Regional de Farmácias - SERVIÇOS</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            body {background: #FFF; font-family: Verdana; font-size: 9pt; }
            #form_senha { background: none repeat scroll 0 0 #F2F2F2;border: 1px solid #DDDDDD;border-radius: 10px 10px 10px 10px;box-shadow: 1px 1px 1px #666666;margin: 50px auto;padding: 20px;width: 340px; position:relative; padding-bottom:13px}
            label { display: block; margin-bottom: 0.3em; text-align: left;}
            input[type=text], input[type=password] {font-family: Calibri, Arial,Sans-serif; border: 1px solid #aaaaaa; border-radius: 3px; display: block; margin-bottom: 1em; padding: 4px; width: 100%; font-size: 12px}
            #criar {position:absolute;top: 315px;left: 152px;}
            h3 { margin: 0 0 1em 0; border-bottom: 1px solid #999999 ;font-family: Verdana; font-size: 9pt; }
            .error { background: none repeat scroll 0 0 #FBE6F2; border: 1px solid #D893A1; padding: 5px; }
            #divValidator {margin-top: 60px;}
            
            
        </style>
        <link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/site/reset.css" />
	<link rel="stylesheet" type="text/css" media="screen" href="../../public/css/estilos.css" />
        
        <link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/jquery/plugins/superfish-1.4.8/superfish.css" />
<!--	<link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/site/miolo.css" />-->
        <link rel="stylesheet" type="text/css" media="screen" href="http://www.crf-pr.org.br/css/jquery/plugins/jqGrid4.3.1/redmond/jquery-ui-1.8.2.custom.css">
        <!-- Biblioteca JQuery -->	
        <script type="text/javascript" src="http://www.crf-pr.org.br/js/jquery/jquery-1.4.3.min.js"></script>
        <!-- Menu Superfish -->
	<script type="text/javascript" src="http://www.crf-pr.org.br/js/jquery/plugins/superfish-1.4.8/superfish.js"></script>
        
        <script src="../../public/scripts/jquery.maskedinput-1.1.1.js" type="text/javascript"></script>
        
        <script type="text/javascript">
            $(document).ready(function(){
                jQuery('ul.sf-menu').superfish({autoArrows:false});
                $('input:text').val('');
                $('#senha_antiga').focus();
                
            });    
	
        </script>
    </head>
    <body>
        <div class="limitador" >
            <div class="topo">
                <div class="midiasSociais">
                    <img src='http://www.crf-pr.org.br/img/site/twitter.gif' alt='' />&nbsp;
                    <img src='http://www.crf-pr.org.br/img/site/facebook.gif' alt='' />
                </div>


                <div class="menuSuperior">
                    <a href="http://www.crf-pr.org.br/site/home/contato">Fale Conosco</a>&nbsp;&nbsp;
                    <img src='http://www.crf-pr.org.br/img/site/separadorMenu.gif' alt='' />&nbsp;&nbsp;
                    <a href="http://www.crf-pr.org.br/site/home/ouvidoria">Ouvidoria</a>&nbsp;&nbsp;
                    <img src='http://www.crf-pr.org.br/img/site/separadorMenu.gif' alt='' />&nbsp;&nbsp;
                    <a href="http://webmail.crf-pr.org.br">Webmail</a></div>


            </div>

            <div class="logo">
                <div id="logoTopo" style="float:left;width:970px;margin-top:39px;text-align:left">
                    <img src="../../public/imagens/logo.png" style="margin-top:10px">
                    <img src="../../public/imagens/servicos.png" style="float:right;margin: 0;padding: 0">
                </div>
            </div>
            
            <? include 'public/include/menu_member.php'; ?>
            
            
            <div>
            <h1>Alterar Senha</h1>
            <div id="form_senha">
                <?php
                echo form_open();

                echo form_label('Senha Antiga:');
                echo form_password('senha_antiga', '');

                echo form_label('Nova Senha:');
                echo form_password('senha', '');

                echo form_label('Confirmação de Senha:');
                echo form_password('senha2', '');

                echo form_submit(array('id' => 'alterar', 'class' => 'buttonModern'), 'Alterar');
                ?>
                <?php form_close(); ?>
                
                <div id="divValidator">
                    <?php echo validation_errors(); ?>
                </div>
                <?php
                if($this->session->userdata('flash:new:mensagem') != '')
                    $msnUser = $this->session->userdata('flash:new:mensagem');
                else if($this->session->userdata('flash:old:mensagem') != '')
                    $msnUser = $this->session->userdata('flash:old:mensagem');

                if(!empty ($msnUser)){?>
                    <div class="msnUser">
                    <?=$msnUser?>
                    </div>
                <?  } ?>
            </div>
            </div>
    </body>
</html>